package com.gzhryc.shared_device.oem.micro.api.dto.xcx;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class ResourcePreloadResponse extends SecurityResponse<ResourcePreloadResponse.Body> {

    private static final long serialVersionUID = 1L;

    public ResourcePreloadResponse() {
        super();
        this.body = new Body();
    }

    public ResourcePreloadResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();

    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

        private Long id;
        private Integer type;
        private String path;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }
}
